<template>
    <view class="project_item_count">
        <uni-number-box :min="0" :max="99" :value="value" @change="change" />
    </view>
</template>
<script setup lang="ts">
const emits = defineEmits(["change"])
const props = defineProps(['value'])

const change = (value:any) => {
    emits('change', value)
}

</script>
<style lang="less" scoped>
.project_item_count {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    :deep(.uni-numbox__minus, .uni-numbox__plus) {
        border-radius: 50%;
    }

    :deep(.uni-numbox__plus) {
        border-radius: 50%;
    }

    :deep(.uni-numbox__value) {
        // border-radius: 50%;
        background-color: #F8F8F8 !important;
        color: #333 !important;
        width: 50rpx !important;
    }
}

:deep(.uni-numbox-btns) {
    padding: 0 !important;
    width: 50rpx !important;
    height: 50rpx !important;
    background-color: #EDEDED !important;

}

:deep(.uni-numbox) {
    justify-content: center !important;
    align-items: center !important;
    background-color: #F8F8F8 !important;
    border-radius: 30rpx !important;
    height: 50rpx !important;
    // width: 150rpx !important;

}

:deep(.uni-numbox--text) {
    // border-radius: 50%;
    color: #c9c2c2 !important;
}
</style>